home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 11 / 0 / DISK1105.ZIP / DATA / P1984-01.IN < prev    next >
Text File  |  1988-06-01  |  6KB  |  133 lines

  1.  
  2.              '**********************************************************
  3.              '
  4.              '         A.B.C. Chemical Company
  5.              '
  6.              '**********************************************************
  7.              '       plant  1  processes
  8.              '..........................................................
  9.                PROCESS @10=d10 & d30 prod. plt 1
  10.  
  11.                    USE #100/crude oil (m bbls)       =1.0
  12.                         #10/plt  1 production days   =0.033333
  13.                         #11/plt  1 operating cost    =2000.
  14.                   MAKE #210/d10 production plt 1     =0.1
  15.                        #230/d30 production plt 1     =0.1
  16.                         #51/byproduct  1             =0.04
  17.                         #52/byproduct  2             =0.1;
  18.  
  19.                PROCESS @11=d10 & d60 prod. plt 1
  20.  
  21.                    USE #100=1.0,   #10=0.033333,  #11=2000.
  22.                   MAKE #210=0.1
  23.                        #260/d60 production plt 1     =0.1
  24.                         #51=0.04,  #52=0.1;
  25.  
  26.                PROCESS @12=d30 & d60 prod. plt 1
  27.  
  28.                    USE #100=1.0,   #10=0.033333,  #11=2000.
  29.                   MAKE #230=0.1,  #260=0.1
  30.                         #51=0.04,  #52=0.1;
  31.              '..........................................................
  32.              '      operational constraints  total days = 30
  33.              '..........................................................
  34.                  MAXIMUM  #10=30.;
  35.  
  36.              '      holding tanks:  after plant  1
  37.  
  38.                 PROCESS  @15=holding tanks: after plt 1
  39.  
  40.                POOL #410/tank d10 final inv.
  41.                    FROM #210,#411/tank d10 initial inv.
  42.                      TO #310/d10 to plt  2;
  43.  
  44.                POOL #430/tank d30 final inv.
  45.                    FROM #230,#431/tank d30 initial inv.
  46.                      TO #330/d30 to plt  2;
  47.  
  48.                POOL #460/tank d60 final inv.
  49.                    FROM #260,#461/tank d60 initial inv.
  50.                      TO #360/d60 to plt  2;
  51.              '.............................................................
  52.              '   set the tank limits and specify tank contents (inventory)
  53.  
  54.                  MAXIMUM   #410 = 80.,   #430 = 80.,   #460 = 80.;
  55.                  FIXED     #411 = 0.0,   #431 = 0.0,   #461 = 0.0;
  56.  
  57.              '..........................................................
  58.              '      plant  2  processes
  59.              '..........................................................
  60.                PROCESS @20=m10 production plt 2
  61.  
  62.                   USE #310=1.0
  63.                        #20/plt 2 production days     =0.166667
  64.                        #21=plt 2 operating cost      =600.
  65.                  MAKE #510/m10 production plt 2      =0.62
  66.                        #53/byproduct  3              =0.38;
  67.  
  68.                PROCESS @21=m30 production plt 2
  69.  
  70.                   USE #330=1.0
  71.                        #20=0.166667
  72.                        #21=600.
  73.                  MAKE #530/m30 production plt 2      =0.45
  74.                        #53=0.55;
  75.  
  76.                PROCESS @22=m60 production plt 2
  77.  
  78.                   USE #360=1.0
  79.                        #20=0.192307
  80.                        #21=600.
  81.                  MAKE #560/m60 production plt 2      =0.39
  82.                        #53=0.61;
  83.              '..........................................................
  84.              '      operational constraints  total days = 30
  85.              '..........................................................
  86.                  MAXIMUM  #20=30.;
  87.  
  88.              '      holding tanks:  after plant  2
  89.  
  90.                 PROCESS  @25=holding tanks: after plt 2
  91.  
  92.                POOL #610/tank m10 final inv.
  93.                    FROM #510,#611/tank m10 initial inv.
  94.                      TO #710/m10 total production;
  95.  
  96.                POOL #630/tank m30 final inv.
  97.                    FROM #530,#631/tank m30 initial inv.
  98.                      TO #730/m30 total production;
  99.  
  100.                POOL #660/tank m60 final inv.
  101.                    FROM #560,#661/tank m60 initial inv.
  102.                      TO #760/m60 total production;
  103.              '.............................................................
  104.              '   set the tank limits and specify tank contents (inventory)
  105.  
  106.                  MAXIMUM   #610 = 25.,   #630 = 25.,   #660 = 25.;
  107.                  FIXED     #611 = 0.0,   #631 = 0.0,   #661= 0.0;
  108.  
  109.              '..........................................................
  110.              '          demands on production
  111.  
  112.                 LIMITS  #710=20. : 35.  '..refined product M10
  113.                         #730=20. : 35.  '..refined product M30
  114.                         #760=10. : 30.; '..refined product M60
  115.  
  116.              '.........................................................
  117.              '          limit the amount of crude oil
  118.  
  119.                    FIXED  #100=900.;
  120.              '.........................................................
  121.              '                        prices
  122.  
  123.                PRICES  #100=-25000.     '...crude oil
  124.                         #11=-1.0        '...Plant 1 operating cost
  125.                         #21=-1.0        '...Plant 2 operating cost
  126.  
  127.                         #51=12000.      '...byproduct 1 SOLD
  128.                         #52=22000.      '...byproduct 2 SOLD
  129.                         #53=22000.;     '...byproduct 3 SOLD
  130.              '.........................................................
  131.  
  132.               #53=22000.;     '...byproduct 3
  133.